package com.css.fxfzysx.modules.vabStructure.entity;

import com.css.fxfzysx.modules.vabStructure.utils.DoubleDecimal;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Data
@Table(name = "czt_crs_calentirety_result")
@Entity
public class CztCrsEntiretyCalResult {
    @Id
    @Column(name = "cal_id")
    private String calId ;
    //todo 没用等待删除

    //建筑编号
    @Column(name = "number")
    private String number ;

    /**
     * 用途
     */
    @Column(name = "purpose")
    private String purpose;

    /**
     * 用途
     */
    @Column(name = "purpose1")
    private String purpose1;

    /**
     * 省
     */
    @Column(name = "province")
    private String province;

    /**
     * 市
     */
    @Column(name = "city")
    private String city;

    /**
     * 区县
     */
    @Column(name = "county")
    private String county;

    /**
     * 结构类型
     */
    @Column(name = "structure_type")
    private String structureType;

    /**
     * 结构类型
     */
    @Column(name = "structure_type1")
    private String structureType1;

    /**
     * 年代
     */
    @Column(name = "years")
    private String years;

    /**
     * 设防情况
     */
    @Column(name = "fortification")
    private String fortification;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;


    /**
     * 砌体类别
     */
    @Column(name = "bw_category")
    private String bwCategory ;



    /**
     * 阻尼比
     */
    @Column(name = "damp_ratio")
    @DoubleDecimal
    private Double dampRatio ;

    @Column(name = "cs")
    private String cs ;

    @Column(name = "create_user_id")
    private String createUserId ;

    @Column(name = "create_user_name")
    private String userName ;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改人
     */
    @Column(name = "update_user")
    private String updateUser;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "maintainer_unit")
    private String maintainerUnit ;
    /**
     * 删除标记
     */
    @Column(name = "del_flag")
    private String delFlag;

    /**
     * 流水号
     */
    @Column(name = "serial_number")
    private Integer serialNum ;

    @Column(name = "dept_id")
    private String deptId ;

    /**
     * 是否计算 0表示未计算，1表示已计算；
     */
    @Column(name = "calculate_or_not")
    private String calculate_or_not ;





    //地震分组
    @Column(name = "eq_group")
    private String eqGroup;

    //场地类别
    @Column(name = "sc")
    private String sc ;


    @Column(name = "data_type")
    private String dataType;

    //是否在基础库
    private String basicLibrary;

    /**
     * （1）现浇钢筋混凝土构件沿高度断面无突变
     */
    @Column(name = "ci_type1")
    private String ciType1;
    @Column(name = "ci_type1_value")
    private Integer ciType1Value;
    /**
     * （2）平面对称
     */
    @Column(name = "ci_type2")
    private String ciType2;
    @Column(name = "ci_type2_value")
    private Integer ciType2Value;
    /**
     * （3）施工质量良好
     */
    @Column(name = "ci_type3")
    private String ciType3;
    @Column(name = "ci_type3_value")
    private Integer ciType3Value;
    /**
     * （4）建筑抗震设计规范
     */
    @Column(name = "ci_type4")
    private String ciType4;
    @Column(name = "ci_type4_value")
    private Integer ciType4Value;

    @Column(name = "table_id")
    private String tableId;

    @Column(name = "version_id")
    private String versionId;


}
